/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.jandan.ui.model;

import java.io.Serializable;
import java.util.Date;

/**
 * 账户模型类
 * @author gong
 * @version 1.0
 */
public class Account implements Serializable {
	/**
	 * 用户ID
	 */
	private long userID;
	/**
	 * 用户名
	 */
	private String userName;
	/**
	 * 邮箱
	 */
	private String email;
	/**
	 * 密码
	 */
	private String password;
	/**
	 * 姓名
	 */
	private String name;
	/**
	 * 电话
	 */
	private String phone;
	/**
	 * 省份
	 */
	private String province;
	/**
	 * 地址
	 */
	private String address;
	/**
	 * 创建日期
	 */
	private Date createdDate;

	/**
	 * 用户类型，注册用户，管理员，超级管理员
	 */
	private int type;
	
	/**
	 * 这个应该没有用到
	 * @deprecated
	 */
	private int value;

	public Account() {

	}

	public long getUserID() {
		return userID;
	}

	public void setUserID(long userID) {
		this.userID = userID;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getProvince() {
		return province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public Date getCreatedDate() {
		return createdDate;
	}

	public void setCreatedDate(Date created) {
		this.createdDate = created;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public void setValue(int value) {
		this.value = value;
	}

	public int getValue() {
		// TODO Auto-generated method stub
		return value;
	}
}
